package demo;

import org.springframework.stereotype.Component;

@Component("wear")
public class Sweater implements Clothes{
    @Override
    public void wear (){
        System.out.println("穿毛衣");
    }
}
